using System;

namespace SpecMaker.Core.Dsl
{
    public class Spec 
    {
        public Type TypeUnderDescription 
        {
            get; set;
        }
        public static SpecDescription Describes<T>()
        {
            return new SpecDescription(new Spec(), typeof (T));
      
        }
        public string Description
        { 
            get; set;
        }
       
        
        public RuleSet[] Actions
        {
            get; set;
        }

        public BeforeEachRule BeforeEachRuleMethod
        {
            get; set;
        }

        public BeforeSpec BeforeSpecMethod
        {
            get; set;
        }

        public AfterEachRule AfterEachMethod
        {
            get; set;
        }

        public AfterSpec AfterSpecMethod
        {
            get; set;
        }
    }
}